<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>layout布局</title>
    <link rel="stylesheet" href="./element_ui/index.css">
    <script src="vue.js"></script>
    <script src="./element_ui/index.js"></script>
    <style>
        .u_1 {
            background-color: springgreen;
            height: 20px;
        }
        
        .u_1_r {
            background-color: rgb(235, 139, 101);
        }
    </style>
</head>

<body>
    <div id="app">

        <el-row :gutter="10">
            <el-col :xs="24" :sm="12" :md="8" :lg="6">
                <div class="u_1"></div>
            </el-col>
            <el-col :xs="24" :sm="12" :md="8" :lg="6">
                <div class="u_1 u_1_r"></div>
            </el-col>
            <el-col :xs="24" :sm="12" :md="8" :lg="6">
                <div class="u_1"></div>
            </el-col>
            <el-col :xs="24" :sm="12" :md="8" :lg="6">
                <div class="u_1 u_1_r"></div>
            </el-col>
        </el-row>

    </div>

    <script>
        var app = new Vue({
            el: '#app',
            data: {}
        });
    </script>
</body>

</html>